package com.taiji.dicom4cloud.smart.alarm.common;

import cn.hutool.core.util.ArrayUtil;
import com.taiji.dicom4cloud.smart.alarm.utils.AlarmUtils;

/**
 * @Description
 * @Author fanxl
 * @Date 2021/8/23
 **/
public enum  AlarmTypeEnum {

    RESIDUAL_CURRENT(AlarmUtils.RESIDUAL_CURRENT,"剩余电流"),
    TEMPERATURE(AlarmUtils.TEMPERATURE,"温度"),
    FAULT_ARC(AlarmUtils.FAULT_ARC,"故障电弧"),
    OVERCURRENT(AlarmUtils.OVERCURRENT,"过流"),
    OVERPRESSURE(AlarmUtils.OVERPRESSURE,"过压"),
    UNDERVOLTAGE(AlarmUtils.UNDERVOLTAGE,"欠压");

    private byte[] type;
    private String info;

    AlarmTypeEnum( byte[] type, String info) {
        this.type = type;
        this.info = info;
    }

    public  byte[] getType() {
        return type;
    }

    public void setType( byte[] type) {
        this.type = type;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }


}
